﻿<html>
<head>
	<title>test</title>
	<script src="/static/js/jquery.js" type="text/javascript"></script>
	<script src="/static/js/jquery-validate.js" type="text/javascript"></script>
	<script src="/static/js/jquery-plugin.js" type="text/javascript"></script>
</head>
<body>
	<h1>yuyue  xitong</h1>
	
	<ul style="padding-left : 8px, left : 0, ">
		${current_backend()}
	</ul>
	<!--{include staff_menu}-->
	
	<div>
		<table>
		<tr>
			<td>
				番号
			</td>
			<td>
				店舗名
			</td>
			<td>
				営業時間
			</td>
			<td>
				店舗写真
			</td>
			<td>
				店舗紹介
			</td>
			<td>
				店長写真
			</td>
			<td>
				店長の話
			</td>
			<td>
				アクセス方法
			</td>
			<td>
				地図
			</td>
		</tr>
		<!--{loop $shopList $index $one}-->
		<tr>
			<td>
				{$one['id']}
			</td>
			<td>
				<a href="/service/shopManageEdit.php?id={$one['id']}">
				{$one['shop_name']}
				</a>
			</td>
			<td>
				{$one['open_hour']}:{$one['open_minute']}～{$one['close_hour']}:{$one['close_minute']}
			</td>
			<td>
				{$one['shop_img']}
			</td>
			<td>
				{$one['shop_introduce']}
			</td>
			<td>
				{$one['store_manager_img']}
			</td>
			<td>
				{$one['store_manager_introduce']}
			</td>
			<td>
				{$one['store_acces']}
			</td>
			<td>
				{$one['map_url']}
			</td>
		</tr>
		<!--{/loop}-->
		</table>
	<div>
	<div>
		<a href="/service/shopManageEdit.php">新規登録</a>
	</div>
</body>
</html>
<script type="text/javascript"> 
	jQuery(function(){
		$("select[name='shop_id']").bind("change", function(){
			
			$("#indexform").submit();
		});
	});
</script> 
</html> 